package com.zfast.forge.pojo.dto;

import com.zfast.config.valid.Create;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * 进阶小贴士
 *
 * @author zgn
 * @email 
 * @date 2024-02-06 13:48:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "bad_skill_tip")
@ApiModel(value = "SkillTip", description = "进阶小贴士")
public class SkillTip implements Serializable{
    private static final long serialVersionUID=1L;

    @Id
    @Column(name = "id")
    @ApiModelProperty("主键")
    @NotNull(message = "主键不可为空", groups = {Create.class})
    private String id;

    @Column(name = "del_flag")
    @ApiModelProperty("删除标志0-正常,1-已删除")
    private Boolean delFlag;

    @Column(name = "content")
    @ApiModelProperty("内容")
    private String content;

    @Column(name = "instructor")
    @ApiModelProperty("指导员")
    private String instructor;

    @Column(name = "skill_id")
    @ApiModelProperty("技巧主键")
    private String skillId;

    @Transient
    @ApiModelProperty("模糊查询字段")
    private String whe;
}
